package com.by.controller;

import com.by.entity.User;
import com.by.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author: Fsw
 * @com.by.controller
 * @date 2025-09-10 11:13
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @Autowired
    UserMapper userMapper;
    @GetMapping("selectAll")
    public void selectAll(){
        List<User> users = userMapper.selectList(null);

    }
}
